Skip to content

[ATN] Add Thunderbird Add-ons badges#11946

Draft
LuxologyGG wants to merge 2 commits into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6994
Draft

[ATN] Add Thunderbird Add-ons badges#11946
LuxologyGG wants to merge 2 commits into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6994

Conversation

@LuxologyGG

@LuxologyGG LuxologyGG commented Jun 21, 2026

Copy link
Copy Markdown

Closes #6994

Summary

Adds shields.io badges for Mozilla Thunderbird extensions via the addons.thunderbird.net (ATN) v3 API, following the same pattern as the existing AMO (Firefox add-ons) services.

New badges

Route Description
/atn/users/:addonId Average daily users
/atn/rating/:addonId Star rating (e.g. 4.8/5)
/atn/stars/:addonId Star rating (visual)
/atn/v/:addonId Current version
/atn/dw/:addonId Weekly downloads

Example

https://img.shields.io/atn/users/unicodify-text-transformer
https://img.shields.io/atn/rating/unicodify-text-transformer
https://img.shields.io/atn/v/unicodify-text-transformer

API rate limits

The ATN API is based on the Mozilla addons-server infrastructure. The addons-server API overview does not publish explicit per-endpoint rate limits for read-only addon metadata requests. Throttled requests return HTTP 429. This badge issues one GET per render to https://addons.thunderbird.net/api/v3/addons/addon/{addonId}/.

Checklist

  • Service implementation (services/atn/)
  • Unit tests (services/atn/atn.service.spec.js)
  • Service tests (services/atn/*.tester.js)
  • Tests passing
  • npm run lint (0 errors)

Testing

  • Unit: npm run test:core -- --grep ATN
  • Integration: npm run test:services -- --only=AtnUsers,AtnRating,AtnVersion,AtnWeeklyDownloads

@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @LuxologyGG!

Generated by 🚫 dangerJS against ca0e312

Implement users, rating, stars, version, and weekly downloads badges
for Mozilla Thunderbird extensions via the ATN v3 API, mirroring the
existing AMO service pattern.

Closes badges#6994
@cursor cursor Bot force-pushed the feat/auto-badge-issue-6994 branch from 4e6707c to d5d2fdb Compare June 24, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Mozilla Thunderbird add-ons (ATN)

2 participants